//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// 

package RouterTester;

//
// TODO auto-generated module
//
network TestNetwork
{
    @display("bgb=621,402");
    submodules:
        trafficGen: TrafficGen {
            @display("p=446,194");
        }
        router: Router {
            @display("p=260,72");
        }
        analyzeUnit: AnalyzeUnit {
            @display("p=61,194");
        }
    connections:
        router.outChannel --> ConnectionChannel -->analyzeUnit.fromRouter;
        trafficGen.toNetwork --> router.inChannel;
}
channel ConnectionChannel extends ned.DatarateChannel
{
    datarate = 64Kbps;
}
